package com.example.liyuehui.annotationprocessordemo;


import com.example.liyuehui.annotationlib.Id;
import com.example.liyuehui.annotationlib.Persistent;
import com.example.liyuehui.annotationlib.Property;

@Persistent(table = "person_inf")
public class Person {
    @Id(column = "person_id", type = "integer", generator = "identity")
    private int id;

    @Property(column = "person_name", type = "string")
    private String name;

    @Property(column = "person_age", type = "integer")
    private int age;

    public Person() {

    }
}
